﻿{% load i18n %}
<html xmlns="http://www.w3.org/1999/xhtml" dir="ltr">
<head>
	<title>{% trans "user" %} › {% trans "login" %}</title>
	<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
	<link media="all" type="text/css" href="/senbzblog/static/admin/css/login.css" rel="stylesheet">
</head>

<body class="login">
	<div id="login">
		{% if messages %}
		{% if messages %}
		<ul class="messages">
			{% for message in messages %}
			<li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
			{% endfor %}
		</ul>
		{% endif %}
		{% endif %}
		<form method="post" action="" id="loginform" name="loginform">
			<p>
				<label>{% trans "username" %}<br>
				<input type="text" tabindex="10" size="20" value="" class="input" id="user_login" name="username"></label>
			</p>
			<p>
				<label>{% trans "password" %}<br>
				<input type="password" tabindex="20" size="20" value="" class="input" id="user_pass" name="password"></label>
			</p>
			
			<p class="submit">
				<input type="submit" tabindex="100" value="{% trans 'login' %}" id="wp-submit" name="wp-submit">
			</p>
			<p>&nbsp;</p>
		
			<p id="nav">
				<a title="找回密码" href="#">忘记密码？</a>
			</p>
		</form>
	</div>

	<p id="backtoblog"><a title="不知道自己在哪？" href="http://{{site.domain}}">← 返回 {% trans "top" %}</a></p>

	<script type="text/javascript">
		try{document.getElementById('user_login').focus();}catch(e){}
	</script>
</body>
</html>